<template>
    <div class="abot">
        <c-header leftType="menu" :title="'关于'">
        </c-header>
        <section class="body">
            <ul class="list">
                <li>
                    <h3>关于项目</h3>
                    <p><b>1.</b> 该项目是基于Cnodejs的api，采用vue.js重写的webapp。</p>
                    <p><b>2.</b> 由于这是一个练手的个人项目,很多细节地方都没有调整!</p>
                </li>
                <li>
                    <h3>源码地址</h3>
                    <p>
                        <a target="_blank" href="https://gitee.com/gfm/vue-cnode">
                            <i class="fa fa-git" aria-hidden="true"></i>: https://gitee.com/gfm/vue-cnode
                        </a>
                </p>
                </li>
                <li>
                    <h3>意见反馈</h3>
                    <p>
                        <a href="https://gitee.com/gfm/vue-cnode#note_748193">
                            欢迎发表意见或者提需求
                        </a>
                    </p>
                </li>
                <li>
                    <h3>当前版本</h3>
                    <p>V1.0</p>
                </li>
            </ul>
        </section>
    </div>
</template>
<script>
import Share from './../share'
import cHeader from './Header'
import cMenu from './menu'

export default {

    name: 'abot',

    mixins: [Share],

    components: {
        cHeader,
        cMenu,
    },

    data() {
        return {
        }
    },

    activated() {
      
    },

    computed: {
        isSelf() {
            var bool = false;
            if (this.selfUserInfo.loginname == this.queryName || !this.queryName) {
                bool = true;
            }
            return bool;
        },

        selfUserInfo() {
            return this.$store.state.user.userInfo;
        },

        queryName() {
            return this.$route.query.name || this.selfUserInfo.loginname;
        },
    },

    methods: {

    },
}

</script>
<style lang="less" scoped>
.list{
    padding: 0 20px;
    li{
        padding: 10px 0;
        border-bottom:1px solid #f1f1f1;
    }
    h3{
        font-weight: 600;
        line-height: 40px;
    }
    p{
        color: #444;
        b{
            font-size: 16px;
            color: #333;
        }
    }
    
}
</style>
